﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration;

namespace PESWeb
{
    public class AppSettingsHelper
    {
        public static string GetSiteAddress()
        {
            string siteAddress = ConfigurationManager.AppSettings["site_address"];

            return string.IsNullOrEmpty(siteAddress) ? "http://localhost/" : siteAddress;
        }
    }
}